package cn.wolfcode.wms.service.impl;

import cn.wolfcode.wms.mapper.ChartsMapper;
import cn.wolfcode.wms.qo.QueryObject;
import cn.wolfcode.wms.service.IChartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class ChartsService implements IChartsService{

    @Autowired
    private ChartsMapper chartsMapper;

    public List<Map<String, Object>> orderChart(QueryObject qo) {
        return chartsMapper.orderChart(qo);
    }

    public List<Map<String, Object>> saleChart(QueryObject qo) {
        return chartsMapper.saleChart(qo);
    }
}
